import {NgModule} from '@angular/core';
import {SharedModule} from '@shared/shared.module';
import {AdminRoutingModule} from './admin-routing.module';
import {ListComponent} from './list/list.component';
import {AdminService} from './admin.service';
import {IndexsetComponent} from './indexset/indexset.component';
import {ChangepwdComponent} from './changepwd/changepwd.component';
import {ShowComponent} from './show/show.component';
import {NzTransferModule} from 'ng-zorro-antd';
import {RoleService} from '../role/role.service';

const COMPONENT_NOROUNT = [];

@NgModule({
    imports: [
        SharedModule,
        NzTransferModule,
        AdminRoutingModule
    ],
    declarations: [
        ...COMPONENT_NOROUNT,
        ListComponent,
        IndexsetComponent,
        ChangepwdComponent,
        ShowComponent,
    ],
    providers: [
        AdminService,
        RoleService
    ],
    entryComponents: COMPONENT_NOROUNT
})
export class AdminModule {
}
